//
//  RZVideoCaptureViewController.h
//  RZIM
//
//  Created by reyzhang on 2021/8/26.
//  自定义视频采集

#import <UIKit/UIKit.h>
#import <Photos/Photos.h>


NS_ASSUME_NONNULL_BEGIN


typedef NS_ENUM(NSInteger,SelectMediaType) {
    SelectMediaTypeBoth = 0,
    SelectMediaTypePhoto,
    SelectMediaTypeVideo,
};

typedef void(^TakeOperationSureBlock)(SelectMediaType type, id item);

@interface RZVideoCaptureViewController : UIViewController


+ (instancetype)sharedVideoVC;

// 轻触拍照，按住摄像
@property (strong, nonatomic) IBOutlet UILabel *labelTipTitle;

@property (copy, nonatomic) TakeOperationSureBlock takeBlock;

@property (assign, nonatomic) NSInteger HSeconds;

@property (nonatomic,strong) NSURL *assetURL;

@property (nonatomic,assign) SelectMediaType mediaType;

@end

NS_ASSUME_NONNULL_END
